package com.petalsgroup.petals.service.animation;

import com.petalsgroup.petals.pojo.*;
import com.petalsgroup.petals.util.LimitUtil;

import java.util.List;

public interface AnimationService {
    AnimationDetailedVO getAnimationDetailsVO(Integer aid);

    List<AnimationSimpleVO> listRecommended(LimitUtil limit);

    List<AnimationSimpleVO> listRecently(LimitUtil limit);

    List<AnimationSimpleVO> flashIndexContext(String model, LimitUtil limit);

    List<AnimationSimpleDO> getAnimationMore(Integer aid);

    List<AnimationSimpleVO> getAllAnimationSimpleVO();

    List<AnimationSimpleVO> listFlash(String week);

    List<AnimationSimpleVO> listSearch(SearchMessage search);

    List<AnimationSimpleVO> listSearch(SearchMessage search, LimitUtil limit);

    boolean addCollectAnimation(Integer aid,Integer uid);

    boolean removeCollectAnimation(Integer aid,Integer uid);

    boolean findCollectAnimation(Integer aid, Integer uid);

    List<AnimationDetailedVO> listAnimationDetailed(LimitUtil limit, String search);

    AnimationDetailedVO getAnimationDetailed(Integer aid);

    boolean updateAnimation(AnimationDetailedVO animationDetailedVO);

    boolean insertAnimation(AnimationDetailedVO animationDetailedVO);

    boolean deleteAnimation(int aid);
}
